﻿@{
    ViewBag.Title = "Borðspil.is - G28";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h2>@ViewBag.Message</h2>
            </hgroup>
        </div>
    </section>
}

<article>
    <h3>Leikir í boði:</h3>
    @Html.Partial("_GametypePartial")

    <h3>Leikir sem þurfa fleiri leikmenn:</h3>
    <ul class="emptyRoomList">
        @Html.Partial("_GamesInNeedForPlayersPartial")
    </ul>

</article>

<aside>

    <h3>Nýlega spilað:</h3>
	@Html.Partial("~/Views/Account/MatchHistoryPartial.cshtml", new Dictionary<string,int>{{"userId", 0},{"numberOfMatches",10}})
 	@section scripts{ <script type="text/javascript" src="~/Javascripts/MatchHistoryPartial.js"></script> }

    
    <h3>Leikir í gangi:</h3>
    <ul>
        @Html.Partial("_ActiveGameRoomsPartial")
    </ul>
</aside>
